package com.jingdianjichi.auth.domain.convent;

import com.jingdianjichi.auth.domain.entity.AuthRoleBo;
import com.jingdianjichi.auth.infra.basic.entity.AuthRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuthRoleConverter {

    AuthRoleConverter INSERT = Mappers.getMapper(AuthRoleConverter.class);

    AuthRole conventBoTo(AuthRoleBo subjectCategoryBo);


    List<AuthRole> conventBoTo(List<AuthRoleBo> subjectCategoryList);

}
